package bat.iog.hytool.tomcat.core;

public abstract class LifecycleMBeanBase extends LifecycleBase{
    @Override
    protected void initInternal() throws LifecycleException {
        // If oname is not null then registration has already happened via
        // preRegister().
//        if (oname == null) {
//            mserver = Registry.getRegistry(null, null).getMBeanServer();
//
//            oname = register(this, getObjectNameKeyProperties());
//        }
    }

//    @Override
//    protected void startInternal() throws LifecycleException {
//
//    }
    
    @Override
    protected void destroyInternal() throws LifecycleException {
        //unregister(oname);
    }
}
